package com.mzpai.product.model;

import java.math.BigDecimal;

import com.mzpai.model.BaseModel;

public class SystemStoreBill extends BaseModel {

	/**
	 *  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '用户账单id',
		  `store_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商家编号',
		  `link_id` varchar(32) NOT NULL DEFAULT '0' COMMENT '关联id',
		  `pm` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0 = 支出 1 = 获得',
		  `title` varchar(64) NOT NULL DEFAULT '' COMMENT '账单标题',
		  `category` varchar(64) NOT NULL DEFAULT '' COMMENT '明细种类  now_money账户余额 settle_money结算账户',
		  `type` varchar(64) NOT NULL DEFAULT '' COMMENT '明细类型 extract提现 pay_success支付成功 order_complete订单完成 order_refund订单退款',
		  `number` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '明细数字',
		  `service_charge` decimal(8,2) unsigned DEFAULT '0.00' COMMENT '手续费',
		  `balance` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '剩余数量',
		  `mark` varchar(512) NOT NULL DEFAULT '' COMMENT '备注',
		  `add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
		  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '0 = 待结算 1 = 有效 -1 = 无效',
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Integer storeId;
	private String linkId;
	private String pm;
	private String title;
	private String type;
	private String category;
	private BigDecimal number;
	private BigDecimal serviceCharge;
	private BigDecimal balance;
	private String mark;
	private Integer addTime;
	private Integer status;
	
	public Integer getStoreId() {
		return storeId;
	}
	public void setStoreId(Integer storeId) {
		this.storeId = storeId;
	}
	public String getLinkId() {
		return linkId;
	}
	public void setLinkId(String linkId) {
		this.linkId = linkId;
	}
	public String getPm() {
		return pm;
	}
	public void setPm(String pm) {
		this.pm = pm;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public BigDecimal getNumber() {
		return number;
	}
	public void setNumber(BigDecimal number) {
		this.number = number;
	}
	public BigDecimal getServiceCharge() {
		return serviceCharge;
	}
	public void setServiceCharge(BigDecimal serviceCharge) {
		this.serviceCharge = serviceCharge;
	}
	public BigDecimal getBalance() {
		return balance;
	}
	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	public Integer getAddTime() {
		return addTime;
	}
	public void setAddTime(Integer addTime) {
		this.addTime = addTime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

}
